package com.yidu.t286.domain;
/*
 * @description:管理员信息
 * @author:文杰
 * @date  :2021/7/31 0031下午 8:28
 */

import java.io.Serializable;

public class Admim implements Serializable {
    //管理员编号
    private int admimId;
    //用户名
    private String adminuser;
    //密码
    private String adminPassword;
    //手机号
    private String adminPhone;
    //角色编号
    private int roleId;
    //token
    private String admintoken;

    /**
     * 默认构造方法
     */
    public Admim() {
    }

    /**
     * 带参构造方法
     * @param adminuser
     * @param adminPassword
     * @param adminPhone
     * @param roleId
     * @param admintoken
     */
    public Admim(String adminuser, String adminPassword, String adminPhone, int roleId, String admintoken) {
        this.adminuser = adminuser;
        this.adminPassword = adminPassword;
        this.adminPhone = adminPhone;
        this.roleId = roleId;
        this.admintoken = admintoken;
    }

    /**
     * 带参构造方法
     * @param admimId
     * @param adminuser
     * @param adminPassword
     * @param adminPhone
     * @param roleId
     * @param admintoken
     */
    public Admim(int admimId, String adminuser, String adminPassword, String adminPhone, int roleId, String admintoken) {
        this.admimId = admimId;
        this.adminuser = adminuser;
        this.adminPassword = adminPassword;
        this.adminPhone = adminPhone;
        this.roleId = roleId;
        this.admintoken = admintoken;
    }


    @Override
    public String toString() {
        return "Admim{" +
                "admimId=" + admimId +
                ", adminuser='" + adminuser + '\'' +
                ", adminPassword='" + adminPassword + '\'' +
                ", adminPhone='" + adminPhone + '\'' +
                ", roleId=" + roleId +
                ", admintoken='" + admintoken + '\'' +
                '}';
    }

    //自动生成setter和getters方法
    public int getAdmimId() {
        return admimId;
    }

    public void setAdmimId(int admimId) {
        this.admimId = admimId;
    }

    public String getAdminuser() {
        return adminuser;
    }

    public void setAdminuser(String adminuser) {
        this.adminuser = adminuser;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public String getAdmintoken() {
        return admintoken;
    }

    public void setAdmintoken(String admintoken) {
        this.admintoken = admintoken;
    }
}
